//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.pro.service.impl;

import com.pro.bean.Menu;
import com.pro.dao.MenuDao;
import com.pro.service.MenuService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("menuService")
public class MenuServiceImpl implements MenuService {
    @Autowired
    private MenuDao menuDao;

    public List<Menu> selAll() {
        return this.menuDao.selAll();
    }

    public int add(Menu menu) {
        return this.menuDao.add(menu);
    }

    public int update(Menu menu) {
        return this.menuDao.update(menu);
    }

    public int del(Integer menuid) {
        return this.menuDao.del(menuid);
    }
}
